// 多设备适配
(function flexible(window) {
    // eslint-disable-next-line no-unused-vars
    window.addEventListener('pageshow', resetFontSize);
    // eslint-disable-next-line no-unused-vars
    window.addEventListener('resize', resetFontSize);
  })(window, document);
  
  function resetFontSize() {
      let size = document.documentElement.clientWidth
      if(size>750){
          size=750;
      }else if (size<320){
          size=320;
      }
      document.documentElement.style.fontSize = 100*(size/(750))+'px'
  }
  resetFontSize()
  